package com.lzx.adx.report.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import com.lzs.adx.commmon.service.impl.CrudServiceImpl;
import com.lzs.adx.commmon.utils.ConvertUtils;
import com.lzx.adx.report.dao.YunxuanOrderDao;
import com.lzx.adx.report.dto.YunxuanOrderDTO;
import com.lzx.adx.report.entity.YunxuanOrderEntity;
import com.lzx.adx.report.service.YunxuanOrderService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.Map;
import java.util.Objects;

/**
 * 
 *
 * @author wangzhijun 825400558@qq.com
 * @since 1.0.0 2024-11-07
 */
@Service
public class YunxuanOrderServiceImpl extends CrudServiceImpl<YunxuanOrderDao, YunxuanOrderEntity, YunxuanOrderDTO> implements YunxuanOrderService {

    @Override
    public QueryWrapper<YunxuanOrderEntity> getWrapper(Map<String, Object> params){
        String id = (String)params.get("id");

        QueryWrapper<YunxuanOrderEntity> wrapper = new QueryWrapper<>();
        wrapper.eq(StringUtils.isNotBlank(id), "id", id);

        return wrapper;
    }





}